package cn.wolfcode.trip.base.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
//我的旅行单
@Getter
@Setter
public class MyTravelTable extends BaseDomain {
    public static final String TRAVELSTATUS_WAIT = "1";
    public static final String TRAVELSTATUS_OVER = "0";
    //当前用户
    private Long userId;
    //攻略
    private Strategy strategy;
    //出行时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date travelTime;
    //出行状态
    private String travelStatus;

}